#include "MysqlDropFullTextStatement.h"
#include "../../../../ast/statement/SQLDropStatement.h"
#include "../../../../ast/SQLName.h"
#include "../../visitor/MySqlASTVisitor.h"

MysqlDropFullTextStatement::MysqlDropFullTextStatement(){}
SQLName_ptr MysqlDropFullTextStatement::getName()
{
  return name;
}

void MysqlDropFullTextStatement::setName(SQLName_ptr name)
{
  if (name != NULL)
  {
    name->setParent(SharedObject(MysqlDropFullTextStatement));
  }
  this->name = name;
}

FullTextType_ptr MysqlDropFullTextStatement::getType()
{
  return type;
}

void MysqlDropFullTextStatement::setType(FullTextType_ptr type)
{
  this->type = type;
}

void MysqlDropFullTextStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  visitor->visit(SharedObject(MysqlDropFullTextStatement));
  visitor->endVisit(SharedObject(MysqlDropFullTextStatement));
}
